package com.liukai.todo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 待办类别表
 * </p>
 *
 * @author liukai
 * @since 2021-07-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Accessors(chain = true)
@TableName("tb_type")
@ApiModel(value="TypeInfo对象", description="存放TypeInfo")
public class TypeInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * todo的类型id
     */
    @TableId(value = "typeId", type = IdType.AUTO)
    @ApiModelProperty(value = "todo的类型id（0无，1倒计时，2正计时）")
    private Integer typeId;

    /**
     * todo的类型名称
     */
    @TableField("typeName")
    @ApiModelProperty(value = "todo的类型名称")
    private String typeName;


}
